package cn.kgc.springcloud.client;

import cn.kgc.springcloud.entity.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: 课工场
 * @Version: v1.0  2023/4/28
 * @Description:
 */
@FeignClient("TAGCLIENT")
public interface TagClient {

    @GetMapping("/tag/{id}")
    Tag getById(@PathVariable("id") Integer id);
}
